import request from '@/utils/request'

//获取所有酒店的所有房间
export function qimoListApi(params) {
  return request({
    url: '/admin/mszs/qimo/receivekey/pageList',
    method: 'get',
    params
  })
}

//新增按键信息
export function addListApi(data) {
    return request({
      url: '/admin/mszs/qimo/receivekey/insert',
      method: 'post',
      data
    })
  }
  
//获取详情信息
  export function detailListApi(params) {
    return request({
      url: '/admin/mszs/qimo/receivekey/load',
      method: 'GET',
      params
    })
  }
  //删除信息
  export function delListApi(params) {
    return request({
      url: '/admin/mszs/qimo/receivekey/delete',
      method: 'GET',
      params
    })
  }